package com.iweb.springboot_demo1.service;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class HelloTest {
    @Async
    public void hello() throws InterruptedException {
        Thread.sleep(10000);
        System.out.println("helloman");
    }
}
